<template>
	<view>
		<button @click="goToPage('/pages/welcome/welcome')">欢迎页</button>
		<button @click="goToPage('/pages/index/index')">首页</button>
	</view>
</template>

<script setup lang="ts">
	const goToPage = (page: string) => {
		uni.navigateTo({
			url: page
		})
	}
</script>

<style>
	       
</style>
